<div id="page_content">
    <h2><?= $this->t->_("Snippets") ?></h2>
    <div id="pages_list">
        <ul>
            <?php
            foreach ($this->list as $key => $value) {
                echo '<li><div class="i_' . $this->modules[$value->mid] . ' i_mod"><a href="' . ADMIN_URL . '/snippet/edit/id/' . $value->id . '">' . $value->title . ' (' . $this->t->_($this->mods[$value->mid]) . ')</a>&nbsp;</div></li>';
            }
            ?>
        </ul>
    </div>
</div>
<div id="sidebar">
    <a href="<?= ADMIN_URL . '/snippet/edit/' ?>" class="sidebar_button add_button" title="<?= $this->t->_("Add snippet") ?>"><?= $this->t->_("Add snippet") ?></a>
</div>


